;(function(window) {

var svgSprite = '<svg>' +
  ''+
    '<symbol id="icon-chuanchengshejiiconzitihua03" viewBox="0 0 1024 1024">'+
      ''+
      '<path d="M690.368 599.616c-2.752-37.376-20.224-81.856-36.672-103.488 1.6-23.424-4.864-68.992-13.44-89.28l-0.064 0C624 355.264 572.032 317.504 510.528 317.504c-72.32 0-131.264 51.968-134.848 117.248l-0.128 0c0 0-5.376 33.664-4.736 60.736-19.2 26.496-37.248 82.432-37.248 99.776 0 17.472 5.44 34.304 33.344 15.104 12.096-9.088 12.096-9.088 12.096-9.088s8.192 27.008 16.384 31.872c-12.544 6.656-47.552 31.872-16.96 54.656 30.656 22.848 71.104 20.416 94.144 14.464 22.976-5.952 29.952-11.392 40.768-11.392 10.688 0 17.792 7.808 36.416 11.392 18.56 3.648 91.392 6.016 103.424-25.792 6.592-17.472-3.84-34.88-23.488-40.96 6.848-10.752 11.52-21.248 15.872-31.872C652.608 613.376 693.12 636.8 690.368 599.616z"  ></path>'+
      ''+
      '<path d="M512 896c-211.776 0-384-172.224-384-384 0-211.712 172.224-384 384-384s384 172.224 384 384C896 723.776 723.776 896 512 896zM512 146.56C310.528 146.56 146.56 310.528 146.56 512c0 201.536 163.968 365.44 365.44 365.44s365.44-163.968 365.44-365.44C877.44 310.528 713.472 146.56 512 146.56z"  ></path>'+
      ''+
    '</symbol>'+
  ''+
    '<symbol id="icon-shouji" viewBox="0 0 1024 1024">'+
      ''+
      '<path d="M691.904 96 357.12 96C315.264 96 281.024 127.2 281.024 165.344l0 693.344c0 38.144 34.24 69.344 76.096 69.344l334.784 0C733.76 928 768 896.8 768 858.656L768 165.344C768 127.2 733.76 96 691.904 96M478.88 151.456l91.296 0c8.384 0 15.232 6.176 15.232 13.856 0 7.648-6.848 13.856-15.232 13.856l-91.296 0c-8.416 0-15.232-6.208-15.232-13.856C463.68 157.664 470.496 151.456 478.88 151.456M524.544 900.256c-25.248 0-45.664-18.592-45.664-41.6 0-23.008 20.416-41.6 45.664-41.6 25.216 0 45.664 18.592 45.664 41.6C570.176 881.664 549.76 900.256 524.544 900.256M737.6 789.344 311.488 789.344 311.488 234.656 737.6 234.656 737.6 789.344z"  ></path>'+
      ''+
    '</symbol>'+
  ''+
    '<symbol id="icon-icon" viewBox="0 0 1024 1024">'+
      ''+
      '<path d="M835.906599 244.855684c-0.058328-0.007163-0.116657-0.01535-0.176009-0.021489-0.589424-0.066515-1.182942-0.121773-1.777483-0.171915-0.487094-0.042979-0.974188-0.077771-1.464351-0.109494-0.411369-0.025583-0.823761-0.053212-1.238201-0.071631-0.969071-0.042979-1.941212-0.072655-2.918469-0.072655L193.692932 244.408499c-0.979304 0-1.954515 0.028653-2.926656 0.072655-0.406253 0.017396-0.809435 0.045025-1.213641 0.069585-0.50756 0.032746-1.013073 0.069585-1.517563 0.113587-0.573051 0.048095-1.144056 0.101307-1.711991 0.164752-0.110517 0.01228-0.220011 0.027629-0.329505 0.040932-32.219819 3.744277-57.292867 30.655184-57.292867 63.261812l0 407.699516c0 32.620955 25.092491 59.572794 57.332776 63.303768 0.092098 0.011256 0.184195 0.023536 0.276293 0.034792 0.576121 0.064468 1.154289 0.11768 1.735527 0.166799 0.499373 0.044002 0.99977 0.079818 1.50119 0.11154 0.406253 0.025583 0.811482 0.053212 1.219781 0.070608 0.972141 0.044002 1.946328 0.072655 2.925632 0.072655l634.640178 0c0.977257 0 1.950422-0.028653 2.920516-0.072655 0.409322-0.01842 0.816598-0.045025 1.223874-0.070608 0.497327-0.031722 0.994654-0.067538 1.490957-0.11154 0.582261-0.049119 1.164522-0.103354 1.74269-0.167822 0.084934-0.010233 0.168846-0.021489 0.252757-0.031722 32.212656-3.722788 57.285704-30.67872 57.285704-63.305815L893.248585 308.131823C893.250632 275.485285 868.147908 248.547773 835.906599 244.855684zM647.243729 511.976464 858.307795 327.133595l0 369.728716L647.243729 511.976464zM828.33311 278.714839c8.43409 0 16.349363 3.622504 21.912056 9.518794L511.014044 585.27998 171.669336 288.233634c5.597485-5.89629 13.515828-9.518794 22.023596-9.518794L828.33311 278.714839zM163.643546 327.157131l211.133651 184.827519L163.643546 696.839799 163.643546 327.157131zM193.692932 745.286184c-8.508791 0-16.426111-3.622504-22.023596-9.522887l229.345432-200.810538 98.387821 86.128613c3.322675 2.914376 7.466042 4.330632 11.612479 4.330632 4.182252 0 8.324596-1.417279 11.647271-4.330632l98.314143-86.100984 229.269707 200.782909c-5.563716 5.900384-13.477966 9.522887-21.912056 9.522887L193.692932 745.286184z"  ></path>'+
      ''+
    '</symbol>'+
  ''+
'</svg>'
var script = function() {
    var scripts = document.getElementsByTagName('script')
    return scripts[scripts.length - 1]
  }()
var shouldInjectCss = script.getAttribute("data-injectcss")

/**
 * document ready
 */
var ready = function(fn){
  if(document.addEventListener){
      document.addEventListener("DOMContentLoaded",function(){
          document.removeEventListener("DOMContentLoaded",arguments.callee,false)
          fn()
      },false)
  }else if(document.attachEvent){
     IEContentLoaded (window, fn)
  }

  function IEContentLoaded (w, fn) {
      var d = w.document, done = false,
      // only fire once
      init = function () {
          if (!done) {
              done = true
              fn()
          }
      }
      // polling for no errors
      ;(function () {
          try {
              // throws errors until after ondocumentready
              d.documentElement.doScroll('left')
          } catch (e) {
              setTimeout(arguments.callee, 50)
              return
          }
          // no errors, fire

          init()
      })()
      // trying to always fire before onload
      d.onreadystatechange = function() {
          if (d.readyState == 'complete') {
              d.onreadystatechange = null
              init()
          }
      }
  }
}

/**
 * Insert el before target
 *
 * @param {Element} el
 * @param {Element} target
 */

var before = function (el, target) {
  target.parentNode.insertBefore(el, target)
}

/**
 * Prepend el to target
 *
 * @param {Element} el
 * @param {Element} target
 */

var prepend = function (el, target) {
  if (target.firstChild) {
    before(el, target.firstChild)
  } else {
    target.appendChild(el)
  }
}

function appendSvg(){
  var div,svg

  div = document.createElement('div')
  div.innerHTML = svgSprite
  svg = div.getElementsByTagName('svg')[0]
  if (svg) {
    svg.setAttribute('aria-hidden', 'true')
    svg.style.position = 'absolute'
    svg.style.width = 0
    svg.style.height = 0
    svg.style.overflow = 'hidden'
    prepend(svg,document.body)
  }
}

if(shouldInjectCss && !window.__iconfont__svg__cssinject__){
  window.__iconfont__svg__cssinject__ = true
  try{
    document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>");
  }catch(e){
    console && console.log(e)
  }
}

ready(appendSvg)


})(window)
